* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #4B5563;
}

li {
  list-style: none;
}

.y-center {
  display: flex;
  align-items: center;
}

.head {
  height: 64px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
  padding: 0 96px;
  justify-content: space-between;
}

@media screen and (max-width: 1000px) {
  .head {
    padding: 0 10px;
  }
}

.home {
  min-width: 620px;
}

.nav {
  height: 100%;
}

.logo {
  width: 32px;
}

.logo img {
  width: 32px;
}

.nav-list ul {
  list-style: none;
  display: flex;
}

.nav-list li {
  margin-left: 32px;
  color: #4B5563;
}

.login-register {
  font-size: 0;
}

.login-register button {
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
}

.login-register button:nth-child(1) {
  background-color: #fff;
}

.login-register button:nth-child(2) {
  background-color: #000;
  color: #fff;
}

.search {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.search-box {
  width: 768px;
  height: 50px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0 8px 0 16px;
  box-sizing: border-box;
  display: flex;
}

@media screen and (max-width: 1000px) {
  .search-box {
    width: 600px;
    height: 45px;
  }
}

.search-icon {
  width: 16px;
  height: 16px;
  background-image: url(./images/search.png);
  background-size: cover;
}

.search-box input {
  flex: 1px;
  margin: 0 20px;
  border: none;
  outline: none;
  font-size: 17px;
}

.search-btn {
  width: 80px;
  height: 40px;
  border: none;
  background-color: #000;
  color: #fff;
}

.hot-search {
  margin-top: 8px;
  color: #6B7280;
  font-size: 14px;
  font-family: Roboto, Roboto;
}

.hot-search span {
  margin-right: 13px;
}

.content {
  background-color: #F9FAFB;
}

.content-sort {
  background-color: #fff;
  padding: 0 96px;
}

@media screen and (max-width: 740px) {
  .content-sort {
    padding: 20px;
  }
}

.content-sort ul {
  display: flex;
  align-items: center;
  height: 48px;
}

.content-sort ul li {
  margin-right: 32px;
  color: #4B5563;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.content-main {
  padding: 32px 96px 128px 96px;
}

.swiper {
  width: 100%;
  height: 27.778vw;
  border-radius: 8px;
  /* 分页器颜色 */
  --swiper-pagination-color: #fff;
}

.swiper-slide img {
  width: 100%;
}

.special-goods {
  margin: 32px 0 48px 0;
}

.special-goods_title {
  font-family: Roboto, Roboto;
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  margin-bottom: 24px;
}

.special-goods_list {
  display: flex;
  overflow-x: scroll;
}

.special-goods_list li {
  width: 294px;
  flex: 0 0 294px;
  width: 364px;
  background-color: #fff;
  margin-right: 24px;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 8px;
}

.special-goods_list li:last-child() {
  margin-right: 0;
}

.special-goods_list li .pic {
  width: 262px;
  height: 256px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto;
  margin-top: 16px;
}

.special-goods_list li .pic img {
  height: 100%;
}

.special-goods_list .name {
  font-family: Roboto, Roboto;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  line-height: 24px;
}

.special-goods_list .price {
  font-family: Roboto, Roboto;
  font-weight: 600;
  font-size: 18px;
  color: #DC2626;
  line-height: 28px;
}